home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 May / macformat-024.iso / Demos / DTP / HomePublisher Demo / AHP Pouch / AutoCreate / Newsletters / New Wave / New Wave
Encoding:
Text File  |  1993-09-17  |  17.4 KB  |  706 lines  |  [SGPA/SCPG]

  1.  
  2. on AutoCreate
  3. Global oldUsersMeasurements
  4. global TheCurrentDialog, theDialog, FolderBase
  5. global The_Style -- Current page style selections.
  6. set lockcursor to true
  7. set lockscreen to true
  8. set MouseCursor to busy
  9. locatefonts
  10. put 1 into The_Style
  11. put 501 into theCurrentDialog
  12. put ":autocreate:newsletters:" into Folderbase
  13. open util script FolderBase&"_CTUtility"
  14.  
  15. put measurements into oldUsersMeasurements
  16. progressdialog open
  17. repeat forever
  18.  
  19. do "put RunDialog" & TheCurrentDialog & "() into theResult"
  20.  
  21. switch theResult
  22. case "Next" 
  23. add 1 to theCurrentDialog
  24. exit switch
  25. case "Previous"
  26. subtract 1 from theCurrentDialog
  27. exit switch
  28. case "Done"
  29. Exit repeat
  30. exit switch
  31. case "Cancel"
  32. get dialog(dispose, theDialog)
  33. exit AutoCreate
  34. exit switch
  35. end switch
  36.  
  37. end repeat
  38.  
  39.  
  40. -- Build the Pages
  41. set MouseCursor to busy
  42.  
  43. progressdialog show "Creating publication…"
  44. set MouseCursor to busy
  45. callscript "_NWsetpagesettings"&The_Style, "setpagesettings"
  46. set MouseCursor to busy
  47. progressdialog show "Creating pages…"
  48. callscript "_New Wave "&The_Style, "Build"
  49.  
  50. if theResult = "Done" then
  51. get dialog(dispose, theDialog)
  52. end if
  53. progressdialog close
  54. set saveglobals to true
  55. end AutoCreate
  56.  
  57. on cleanup
  58. Global oldUsersMeasurements
  59. Global TheCurrentDialog, FolderBase
  60. set lockscreen to true
  61. put 503 into TheCurrentDialog
  62. set ShuffleTextObjects to false
  63.  
  64. set lockcursor to true
  65. set MouseCursor to busy
  66. progressdialog open
  67.  
  68.  
  69. open util script FolderBase&"_CTUtility"
  70.  
  71. repeat forever
  72.  
  73. do "put RunDialog" & TheCurrentDialog & "() into theResult"
  74.  
  75. switch theResult
  76. case "Next" 
  77. add 1 to theCurrentDialog
  78. exit switch
  79. case "Previous"
  80. subtract 1 from theCurrentDialog
  81. exit switch
  82. case "Done"
  83. Exit repeat
  84. exit switch
  85. case "Cancel"
  86. get dialog(dispose, theDialog)
  87. publicationsetup columns 1
  88. set view to sizetofit
  89. set measurements to oldUsersMeasurements
  90. exit Cleanup
  91. end switch
  92.  
  93. end repeat
  94.  
  95. callscript "_CTCopyFitEveryStory", "CopyFitEveryStory"
  96.  
  97. repeat with i = 1 to number of pages -- unlock all objects in doc so user has control
  98. set currentpage to i
  99. select all objects
  100. set locked to false
  101. end repeat
  102. set currentpage to 1
  103. select empty
  104.  
  105. publicationsetup columns 1
  106. set view to sizetofit
  107. set displayguides to false
  108. set measurements to oldUsersMeasurements
  109. end cleanup
  110.  
  111.  
  112.  
  113. function RunDialog501
  114. -- Phase I, initial options.
  115. Global The_Style -- Scripted Pages to use.
  116. Global theDialog
  117.  
  118. put 2 into Num_Columns -- Number of columns
  119. put 1 into Num_Stories -- Number of stories
  120.  
  121. put dialog(preload, 501) into theDialog
  122.  
  123. set MouseCursor to busy
  124.  
  125. -- Disable buttons
  126. SetDialogItem 3,"Disabled" -- Place Graphics
  127. SetDialogItem 4,"Disabled" -- Place Text
  128.  
  129. -- Set default options
  130. SetDialogItem 7,"Set" -- 1 story
  131. SetDialogItem 8,"Clear" -- 2 stories
  132.  
  133. -- Define action procs
  134. SetDialogItem 9,  "Box" -- "Number of Columns Box"
  135. SetDialogItem 21,  "Box"  -- Page Navigator
  136. setDialogitem 14, "graybox"
  137.  
  138. SetDialogItem 19, "Disabled" -- Prev page button
  139.  
  140. put 1014 into Max_Pages_1
  141. put 1023 into Max_Pages_2
  142. put 1011 into Min_Pages_1
  143. put 1021 into Min_Pages_2
  144.  
  145. put 1011 into page_one
  146. put 1012 into page_two
  147. put 1 into The_Style
  148.  
  149. repeat forever
  150.  
  151. SetDialogItem 15,"Picture", PAGE_ONE
  152. SetDialogItem 23,"Picture", PAGE_TWO
  153.  
  154. get dialog(display, theDialog)
  155.  
  156. Switch it
  157. -- Done Button.
  158. case 1 
  159. put "Done" into theResult
  160. exit repeat
  161. exit switch
  162.  
  163. -- Cancel button
  164. case 2
  165. put "Cancel" into theResult
  166. exit repeat
  167. exit switch
  168.  
  169. -- Help
  170. case 5
  171. helpdialog 501, "Autocreate - New Wave Newsletter Options"
  172. SetDialogItem 15,"Picture", PAGE_ONE
  173. SetDialogItem 23,"Picture", PAGE_TWO
  174. exit switch
  175.  
  176. -- 2 Story
  177. case 7
  178. put 1 into The_Style
  179. put 1011 into PAGE_ONE
  180. put 1012 into PAGE_TWO
  181. SetDialogItem 19, "Disabled" -- Prev Page
  182. SetDialogItem 20, "Enabled" -- Next Page
  183. exit switch
  184.  
  185. -- 1 story
  186. case 8
  187. put 2 into The_Style
  188. put 1021 into PAGE_One
  189. put 1022 into PAGE_TWO
  190. SetDialogItem 19, "Disabled" -- Prev Page
  191. SetDialogItem 20, "Enabled" -- Next Page
  192. exit switch
  193.  
  194. case 19 -- Prev page button
  195. SetDialogItem 20, "Enabled" -- Next Page
  196. put Page_One - 1 into Page_One
  197. put Page_Two - 1 into Page_Two
  198.  
  199. do "put Min_Pages_" & the_style & " into Min_Page"
  200. if Page_One = Min_Page then
  201. SetDialogItem 19, "Disabled" -- Prev Page
  202. end if
  203. exit switch
  204.  
  205. case 20 -- Next page button
  206. SetDialogItem 19, "Enabled" -- Prev Page
  207. put Page_One + 1 into Page_One
  208. put Page_Two + 1 into Page_Two
  209.  
  210. do "put Max_Pages_" & the_style & " into Max_Page"
  211. if Page_Two = Max_Page then
  212. SetDialogItem 20, "Disabled" -- Prev Page
  213. end if
  214. exit switch
  215.  
  216. end switch
  217.  
  218. end repeat
  219.  
  220. return theResult
  221. end RunDialog501
  222.  
  223.  
  224.  
  225. function RunDialog503
  226. Global TotalStories, theStories, vHelvetica, The_Style
  227. -- Phase III, Page Options.
  228. progressdialog show "Preparing Options Dialog…"
  229. put false into UpdateProxy
  230. put false into MakeJumpLines
  231. put false into IncludeTOC
  232. put "unknown" into TheResult
  233. set currentPage to 1
  234.  
  235. put dialog(preload, 503) into theDialog
  236. set MouseCursor to busy
  237.  
  238. SetDialogItem 11, "Box" -- Action proc for Folio Options
  239. SetDialogItem 16, "Box" --Action proc for Document Options
  240. SetDialogItem 19, "GrayBox" -- Action proc for Preview Box
  241.  
  242. put "unknown" into TheStories
  243.  
  244. set currentpage to 1  
  245.  
  246. -- Set Volume name and date settings
  247. put item 2 to 3 of date(long) into THE_DATE -- Date = "February 5, 1992"
  248. delete char 1 of THE_DATE
  249.  
  250. SetDialogItem 8, "Set","Contents", "New Wave Edition" -- Publication Name.
  251. SetDialogItem 4, "Contents", "Volume 1, Number 1" -- Volume.
  252. SetDialogItem 5, "Contents", THE_DATE -- Date.
  253.  
  254. -- Setup items on the page.
  255. put "N e w  W a v e  E d i t i o n" into story "Publication Name"
  256. select all text in story "Publication Name"
  257. set styleRecomposition to false
  258. set RulerJustification to Forced
  259. Set TextSize to 40
  260. set textfont to vhelvetica
  261. set textface to plain
  262. set textface to italic
  263. set flexibleParaSpace to false
  264. Set flexibleLeading to false
  265. Set flexibleCharSize to true
  266. select text char 1 of word 1 of story "Publication Name"
  267. set textface to bold
  268. select text char 1 of word 4 of story "Publication Name"
  269. set textface to bold
  270. select text char 1 of word 8 of story "Publication Name"
  271. set textface to bold
  272. set styleRecomposition to true
  273. copyfit
  274. put "New Wave Edition" into OldPubTitle
  275.  
  276. put THE_DATE into story "Date"
  277. Select all text in Story "Date"
  278. set styleRecomposition to false
  279. set RulerJustification to left
  280. Set TextSize to 14
  281. set textfont to vhelvetica
  282. set textface to plain
  283. set textface to italic
  284. set styleRecomposition to true
  285. copyfit
  286. put THE_DATE into OldDate
  287.  
  288. put "Volume 1, Number 1" into story "Volume"
  289. Select all Text in story "Volume"
  290. set styleRecomposition to false
  291. set TextSize to 14
  292. set textfont to vhelvetica
  293. set textface to plain
  294. set textface to italic
  295. set styleRecomposition to true
  296. copyfit
  297.  
  298. put "Volume 1, number 1" into OldVolume  
  299.  
  300. callscript "_NWSetStoryFonts", "SetStoryFonts"
  301.  
  302. SetDialogItem 21,"Proxy" -- Update Proxy.
  303.  
  304. repeat forever
  305. get dialog(display, theDialog)
  306.  
  307. switch it
  308.  
  309. case 1 -- Next Button
  310. put "Next" into theResult
  311. put true into UpdateProxy
  312. exit switch
  313.  
  314. case 6
  315. put hilited(item6) into MakeJumpLines
  316. exit switch
  317.  
  318. case 3
  319. helpdialog 503, "Autocreate - Other Newsletter Options"
  320. put true into updateProxy
  321. exit switch
  322.  
  323. case 2 -- Update
  324. case 21
  325. case 20
  326. case 19 --User Force Update Preview Proxy
  327. put true into UpdateProxy
  328. exit switch
  329.  
  330. end switch 
  331.  
  332. if UpdateProxy then
  333. -- Check if Publication Title has been modified
  334. if OldPubTitle ≠ ContentsOf(item8) then 
  335. put ContentsOf(item8) into OldPubTitle
  336. put OldPubTitle into story "Publication Name"
  337. select all text of story "Publication Name"
  338. set styleRecomposition to false
  339. set textfont to vhelvetica
  340. set RulerJustification to Forced
  341. Set TextSize to 40
  342. set textface to plain
  343. set textface to italic
  344.  
  345. -- Set initial Character to Bold
  346. repeat with x = 1 to number of words in story "Publication Name"
  347. select text char 1 of word x of story "Publication Name"
  348. set textface to bold
  349. end repeat
  350. -- Space out the pub title
  351. repeat with x =  (number of chars in story "Publication Name")-1 down to 1
  352. put " " after char x of story "Publication Name"
  353. end repeat
  354.  
  355. set flexibleParaSpace to false
  356. Set flexibleLeading to false
  357. Set flexibleCharSize to true
  358. set styleRecomposition to true
  359. copyfit
  360. end if
  361.  
  362. -- Check if Date has been modified
  363. if OldDate ≠ ContentsOf(item5) then 
  364. put ContentsOf(item5) into OldDate
  365. put OldDate into story "Date"
  366. select all text in story "Date"
  367. set styleRecomposition to false
  368. Set TextSize to 12
  369. set textfont to vhelvetica
  370. set textface to plain
  371. set textface to italic
  372. set flexibleParaSpace to false
  373. Set flexibleLeading to false
  374. Set flexibleCharSize to true
  375. set styleRecomposition to true
  376. end if
  377.  
  378. -- Check if Volume has been modified
  379. if OldVolume ≠ ContentsOf(item4) then 
  380. put ContentsOf(item4) into OldVolume
  381. put OldVolume into story "Volume"
  382. select all text in story "Volume"
  383. set styleRecomposition to false
  384. Set TextSize to 12
  385. set textfont to vhelvetica
  386. set textface to plain
  387. set textface to italic
  388. set flexibleParaSpace to false
  389. Set flexibleLeading to false
  390. Set flexibleCharSize to true
  391. set styleRecomposition to true
  392. copyfit
  393. end if
  394.  
  395.  
  396. SetDialogItem 21,"Proxy" -- Update Proxy.
  397. put false into UpdateProxy
  398. end if
  399.  
  400. if TheResult = "Next" then 
  401. if MakeJumpLines then 
  402. set mousecursor to busy
  403. progressdialog show "Creating "& quote & "Continued from" & quote & " lines…"
  404. if The_Style = 1 then
  405. doOneStoryJumpLines
  406. else
  407. callscript "_CTCreateJumpLines", "CreateJumpLines"
  408. end if
  409. end if        
  410. exit repeat
  411. end if
  412. end repeat
  413. get dialog(dispose, theDialog)
  414. return theResult
  415. End RunDialog503
  416.  
  417. on doOneStoryJumpLines
  418. global vHelvetica
  419.  
  420. repeat with thepage = 1 to 3
  421. set currentpage to thepage
  422. open story "jumpline "&thepage
  423. draw rectangle in inches from 5.5,9.583 to 7.514,9.93
  424. close story
  425. -- Enter text into obj.
  426.  
  427. put ("continued on page " & (thepage +1)) into  story ("jumpline "&thepage)
  428. set textwrap of last object to 0 aRoundRect
  429. set linePattern of last object to 0
  430. select all text in story ("jumpline "&thepage)
  431. set textRecomposition to false
  432. set textfont to vHelvetica
  433. set RulerJustification to right
  434. set textface to italic
  435. set textRecomposition to true
  436. set flexibleCharSize to false
  437. Set flexibleLeading to false
  438. Set flexibleCharSize to false
  439. set textsize to 8
  440. end repeat  
  441. end doOneStoryJumpLines
  442.  
  443. function RunDialog504
  444. Global TotalStories, theStories, vHelvetica
  445. -- Headline Editor.
  446. set shuffleTextObjects to false
  447. progressdialog show "Preparing headline dialog…"
  448. put dialog(preload, 504) into theDialog
  449.  
  450. -- Action proc for Headline Entry Box
  451. SetDialogItem 11,   "Box"
  452.  
  453. -- Action proc for Divider line.
  454. SetDialogItem 14,  "Box"
  455.  
  456. -- Action proc for Text Proxie
  457. SetDialogItem 6,  "Box"
  458.  
  459.  
  460. put empty into theResult
  461. -- Preset the Headlines
  462. repeat with x = 1 to TotalStories
  463. put item x of TheStories into TheTempStory
  464. set itemdel to "\"
  465. put item 3 of TheTempStory into ThePage -- Get Page.
  466. set itemdel to ","
  467. set currentpage to ThePage -- Go to that page.
  468. put empty into TempHold
  469. put paragraph 1 of story item 1 of storyloc of object (item x of TheStories) after TempHold
  470. set the itemdel to numtochar(1)
  471. put tempHold into item x of TheCurrentTitles
  472. set itemdel to ","
  473. end repeat
  474.  
  475. progressdialog hide
  476. if TotalStories = 0 then exit RunDialog504
  477. -- If only one story, then grey the next and prev buttons
  478. if TotalStories = 1 then
  479. SetDialogItem 4,"Disabled" -- Prev Headline.
  480. SetDialogItem 3,"Disabled" -- Next Headline.
  481. end if
  482.  
  483. -- Tell user # of stories
  484. put "This publication has x headline(s). Personal Press has selected the " & ¬
  485. "first paragraph of the story for the headline. Make sure each headline is " &¬
  486. "correct or type a new headline. " into TheInstructions
  487. put TotalStories into word 4 of TheInstructions
  488. SetDialogItem 9, "Text", TheInstructions
  489.  
  490. put 1 into CurrentStoryNum -- Holds the current story number.
  491.  
  492. -- Do every story in the pub.
  493. repeat forever
  494. put item CurrentStoryNum of TheStories into CurrentStoryName
  495.  
  496. set itemdel to "\"
  497. set currentpage to item 3 of CurrentStoryName
  498. set itemdel to ","
  499.  
  500. --Story preview box, Get the 1st 240 chars of the story.
  501. put empty into TheStory
  502. put trunctext( story item 1 of storyloc of object CurrentStoryName, 245 ) ¬
  503. after TheStory
  504. SetDialogItem 15, "Enabled","Text", TheStory
  505.  
  506. -- Set name of story in the Headlines dialog box.
  507. SetDialogItem 16,"Text", "Contents", quote & ¬
  508. username of story (item 1 of storyloc of object CurrentStoryName) & quote
  509.  
  510. -- Set the current headline.
  511. set itemdel to numtochar(1)
  512. put item CurrentStoryNum of TheCurrentTitles into TheHeadline
  513. set itemdel to ","
  514. SetDialogItem 10,"Set","Contents",TheHeadline
  515.  
  516. -- Set Headline Preview Proxy
  517. select empty
  518. set the itemdel to "\"
  519. select objects where word 2 of item 2 of name of this object = "Title" and¬
  520. (word 2 of name of object CurrentStoryName = word 2 of name of this object)
  521. set the itemdel to ","
  522. put selectedobjects() into objs
  523. repeat with q = 1 to number(items in objs)
  524. put item q of objs into y
  525. -- Put the name of this object into the Title object.
  526. put TheHeadline into story item 1 of storyloc of object y
  527. select all text in story item 1 of storyloc of object y
  528. set styleRecomposition to false
  529. set textsize to 20
  530. set flexibleParaSpace to false
  531. Set flexibleLeading to false
  532. Set flexibleCharSize to true
  533. set styleRecomposition to true
  534. put empty into isTitle
  535. end repeat -- Objects
  536.  
  537. if (CurrentStoryNum = TotalStories) and (TotalStories > 1) then
  538. SetDialogItem 3,"Disabled" -- Next Headline.
  539. SetDialogItem 4,"Enabled" -- Prev Headline.
  540. else if (CurrentStoryNum = 1) and (TotalStories > 1) then
  541. SetDialogItem 3,"Enabled" -- Next Headline.
  542. SetDialogItem 4,"Disabled" -- Prev Headline.
  543. else if (CurrentStoryNum ≠ 1) and (TotalStories > 1) ¬
  544. and (CurrentStoryNum ≠ TotalStories) then
  545. SetDialogItem 3,"Enabled" -- Next Headline.
  546. SetDialogItem 4,"Enabled" -- Prev Headline.
  547. end if
  548.  
  549. -- Handle the dialog.
  550. repeat forever
  551. get dialog(display, theDialog)
  552.  
  553. switch it
  554.  
  555. case 19 -- Next Button
  556. put "Next" into theResult
  557. put ContentsOf(item10) into TheHeadline
  558. set itemdel to numtochar(1)
  559. put TheHeadline into item CurrentStoryNum of TheCurrentTitles
  560. set itemdel to ","
  561. exit repeat
  562. exit switch
  563.  
  564. case 3 -- "Next Headline"
  565. put ContentsOf(item10) into TempHold
  566. set itemdel to numtochar(1)
  567. put TempHold into item CurrentStoryNum of TheCurrentTitles
  568. set itemdel to ","
  569. put 1+CurrentStoryNum into CurrentStoryNum
  570. if CurrentStoryNum > TotalStories then
  571. put TotalStories into CurrentStoryNum
  572. end if
  573. exit repeat
  574. exit switch
  575.  
  576. case 4 -- "Prev Headline"
  577. put ContentsOf(item10) into tempHold
  578. set itemdel to numtochar(1)
  579. put TempHold into item CurrentStoryNum of TheCurrentTitles
  580. set itemdel to ","
  581. put CurrentStoryNum - 1 into CurrentStoryNum
  582. if CurrentStoryNum < 1 then put 1 into CurrentStoryNum 
  583. exit repeat
  584. exit switch
  585.  
  586. case 5 
  587. helpdialog 504, "Autocreate - Headline Editor"
  588. SetDialogItem 9, "Text", TheInstructions
  589. SetDialogItem 15, "Enabled","Text", TheStory
  590. exit switch
  591.  
  592.  
  593. end switch 
  594. end repeat -- Dialog Handler.
  595.  
  596.  
  597. if (TheResult = "Next") then 
  598. -- Assign the titles.
  599. put CurrentPage into OldPage
  600. set mousecursor to busy
  601. progressdialog show "Installing headlines…"
  602. repeat with x = 1 to TotalStories
  603. set mousecursor to busy
  604. put item x of TheStories into TempStory -- Get the story.
  605. set itemdel to "\"
  606. put item 3 of TempStory into StoryCurrentPage  -- Set the stories' page.
  607. set itemdel to ","
  608. put word 2 of item x of TheStories into TheStoryObject
  609.  
  610. -- Look for title objects.
  611. repeat with p = 1 to number of pages -- go thru all pages.
  612. set currentpage to p
  613. select empty
  614. put word 2 of item x of TheStories into stynum
  615. set the itemdel to "\"
  616. select objects where word 2 of item 2 of name of this object = "Title" and¬
  617. stynum = word 2 of name of this object
  618. set the itemdel to ","
  619. put selectedobjects() into objs
  620. repeat with q = 1 to number(items in objs)
  621. put item q of objs into y
  622. put word 2 of name of object y into TheSearchObject
  623.  
  624. set itemdel to numtochar(1)
  625. put item x of theCurrentTitles into TheChangedHeadLine
  626. set itemdel to ","
  627.  
  628. put TheChangedHeadline into story item 1 of storyloc of object y
  629. select all text in story item 1 of storyloc of object y
  630. set styleRecomposition to false
  631. set textfont to vHelvetica
  632. set textsize to 20
  633. set flexibleParaSpace to false
  634. Set flexibleLeading to false
  635. Set flexibleCharSize to true
  636. set styleRecomposition to true
  637.  
  638. set mousecursor to busy
  639. --Check the 1st ¶ to see if same as headline -- if Yes, Delete it.
  640. set currentpage to StoryCurrentPage
  641. put paragraph 1 of story item 1 of storyloc of object (item x of TheStories)¬
  642. into TheCurrentHeadline
  643. if TheCurrentHeadline = TheChangedHeadline then
  644. delete paragraph 1 of story item 1 of storyloc¬
  645. of object (item x of TheStories)
  646. end if
  647. set currentpage to p
  648.  
  649.  
  650. end repeat -- Objects
  651. end repeat -- pages.
  652.  
  653. end repeat -- Stories.
  654. set currentpage to OldPage
  655.  
  656. exit repeat -- We're Done!
  657. end if
  658. end repeat -- Story Count.
  659. get dialog(dispose, theDialog)
  660. return theResult
  661. End RunDialog504
  662.  
  663. function RunDialog505
  664. callscript "_CTMakePullQuotes", "MakePullQuotes"
  665. return "next"
  666. end RunDialog505
  667.  
  668. function RunDialog506
  669. callscript "_CTMakeCaptions", "MakeCaptions"
  670. return "Done"
  671. end RunDialog506
  672.  
  673.  
  674. on callscript file, message
  675. global FolderBase
  676. open script FolderBase&file
  677. do message
  678. close script FolderBase&file
  679. end callscript
  680.  
  681.  
  682.  
  683. on locatefonts
  684. global vHelvetica, vPalatino, vTimes, vNewYork, systemfonts
  685. put fontfamilies into systemfonts
  686. if systemfonts contains "New York" then put "New York"  into vNewYork
  687. else put "Geneva" into vNewYork
  688. if systemfonts contains "helvetica" then put "helvetica"  into vHelvetica
  689. else put "Geneva" into vHelvetica
  690. if systemfonts contains "Times" then put "Times" into vTimes
  691. else put vNewYork into vTimes
  692. if systemfonts contains "Palatino" then put "Palatino" into vPalatino
  693. else put vTimes into vPalatino
  694. put vHelvetica into vTimes -- a little trick to make all fonts Helvetica family
  695. put vHelvetica into vPalatino -- a little trick to make all fonts Helvetica family
  696.  
  697.  
  698. end locatefonts
  699.  
  700.  
  701. on autoCreateHelp
  702. helpdialog 500, "Autocreate - Place text and graphics"
  703. set saveglobals to true
  704. end autoCreateHelp
  705.  
  706.     ©à<BÏ